
<div style="margin-top: 100px">
    <h1>summation</h1>
    <input type="button" value="Call summation" onclick="temp.JSsummation('clickSomething')">
        <input type="button" value="Call ObjC system alert" onclick="temp.showAlertMsg('js title', 'js message')">
            <input type="button" value="nativeData" onclick="alertNative()">
                <input type="button" value="Call ObjC system alert" onclick="temp.showAlertMsg('js title', 'js message')">

</div>

<script type="text/javascript">
    var alertNative = function()
    {
        //alert(JSON.stringify(nativeData));
    }
    
    var jsFunction = function(){
        var jsondata = JSON.stringify({"titile":"ssssss","desc":"rrrrr","url":"http://baidu.com"});
        temp.getJson(jsondata);
    }
</script>